package org.esk.dablog.service.spi;

import org.esk.dablog.service.StatisticsManager;
import org.esk.dablog.model.Statistics;
import org.esk.dablog.dao.StatisticsDAO;

import java.util.List;

/**
 * This class 
 * User: esk
 * Date: 27.12.2006
 * Time: 16:05:49
 * $Id:$
 */
public class StatisticsManagerImpl implements StatisticsManager {

    private StatisticsDAO statisticsDAO;

    /**
     * lists unique referers
     * @return
     */
    public List<Statistics> listReferers(String localHostName) {
        return statisticsDAO.listReferers(localHostName);
    }


    public void setStatisticsDAO(StatisticsDAO statisticsDAO) {
        this.statisticsDAO = statisticsDAO;
    }
}
